﻿using System;
using System.Collections.Generic;

namespace Blog.Framework.Utility
{
    public interface IPagedList<T> : IList<T>
    {
        int TotalCount
        {
            get;
            set;
        }

        int PageIndex
        {
            get;
            set;
        }

        int PageSize
        {
            get;
            set;
        }

        bool HasPreviousPage
        {
            get;
        }

        bool HasNextPage
        {
            get;
        }
    }
}
